<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html>
<head>
<title>提示信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script>
var waitTime = {$waitSecond};
handle = setInterval("tryJump()", 1000);
function tryJump() {
	waitTime--;
	if (waitTime <= 0) {
		clearInterval(handle);
		<present name="closeWin" >windowclose();return;</present>
		window.location.href = '{$jumpUrl}';
	} else {
		document.getElementById("timer").innerHTML = waitTime;
	}
}
function windowclose() {
    var browserName = navigator.appName;
    if (browserName=="Netscape") {
        window.open('', '_self', '');
        window.close();
    }
    else {
        if (browserName == "Microsoft Internet Explorer"){
            window.opener = "whocares";
            window.opener = null;
            window.open('', '_top'); 
            window.close();
        }
    } 
}
</script>
<style type="text/css">
body{
    margin:0;
    padding:0;
    width:100%;
    height:100%;
}
#wrap {
	position:absolute;
	width:500px;
	height:300px;
	top:50%;
	left:50%;
	margin-top:-150px;
	margin-left:-250px;
	border:1px solid #69BA26;
}
#content{
	margin:35px;
	font-size:14px;
	color:#888;
}
a{
	color:#61C422;
	text-decoration:none;
}
#errorTitle {
	background:transparent url(__PUBLIC__/images/error.gif) no-repeat scroll left center;
	color:#E26000;
	padding:15px 0px 15px 60px;
}
#errorMsg, #successMsg {
	padding:15px 0px 15px 60px;
	height:100px;
	line-height:1.6em;
}
#successTitle {
	background:transparent url(__PUBLIC__/images/success.gif) no-repeat scroll left center;
	padding:15px 0px 15px 60px;
}
#timer {
	color:#F87F15;font-weight:bold;
}
</style>
</head>
<body>
<div id="wrap">
<div id="content">
<!-- 成功-->
<eq name="status" value="1">
    <present name="message" >
    <h2 id="successTitle">{$msgTitle}</h3>
    <h4 id="successMsg">{$message}</h4>    
    </present>
</eq>

<!--失败-->
<eq name="status" value="0">
    <present name="error" >
    <h2 id="errorTitle">{$msgTitle}</h3>   
    <h4 id="errorMsg">{$error}</h4>    
    </present>
</eq>

<present name="closeWin" >
<div id="jumper">系统将在 <span id="timer">{$waitSecond}</span> 秒后自动关闭，如果不想等待,直接点击 <A HREF="{$jumpUrl}">关闭</A></div>
</present>

<notpresent name="closeWin">
<div id="jumper">系统将在 <span id="timer">{$waitSecond}</span> 秒后自动跳转,如果不想等待,直接点击 <A HREF="{$jumpUrl}">这里</A> 跳转</div>
</notpresent>
</div>
</div>
</body>
</html>